const APIROOT = 'https://*******.com';

export let Config = {
  loginurl: APIROOT + "/wxlogin",                //获取openid
  userinfourl: APIROOT + "/wxuser",              //发送用户信息
  areaurl: APIROOT + "/que/getquelist",          //获取广场文章列表
  getoneansurl: APIROOT + "/ans/getoneque/",     //获取一个答案
  getoneans: APIROOT + "/ans/getoneans/",        //获取指定答案
  getallans: APIROOT + "/ans/getallque/",        //获取全部答案
  updateans: APIROOT + "/ans/updateans/",        //提交编辑的答案
  saveans: APIROOT + "/ans/saveans",             //提交答案
  getcom: APIROOT + "/com/getcom/",              //获取评论
  savecom: APIROOT + "/com/savecom" ,            //保存评论
  getcate: APIROOT + "/cate/getcate" ,           //获取分类
  saveque: APIROOT + "/que/saveque" ,            //保存问题
  getcateque: APIROOT + "/que/getcateque/" ,     //获取分类下的问题列表
  czan: APIROOT + "/com/zancom/" ,               //评论点赞
  azan: APIROOT + "/ans/zanans/" ,               //答案点赞
  uque: APIROOT + "/que/getuserque/" ,           //获取用户提问
  uans: APIROOT + "/ans/getuserans/" ,           //获取用户回答
  ucom: APIROOT + "/com/getusercom/" ,           //获取用户评论
}